package com.yangluyao.jsr303.hibernate.validator.service;

import com.yangluyao.jsr303.hibernate.validator.model.User;

import java.util.List;

/**
 * @author YLY
 * @ClassName IUserService
 * @Date 2020/7/29
 * @Version 1.0.2
 */
public interface IUserService {

    String findUserName(Long id);

    List<User> findUsers();

    User findUserById(Long id);

    User saveUser(User user);
}
